﻿<Window x:Class="ResourceBlender_Express.WinAbout"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="About" Height="410" Width="214"
    WindowStyle="ToolWindow" WindowStartupLocation="CenterOwner" 
    SizeToContent="WidthAndHeight" ResizeMode="NoResize" 
    Loaded="Window_Loaded"
    Style="{StaticResource {x:Type Window}}" Icon="/ResourceBlender-Express;component/Resources/images/resourceblender.ico">
    <Window.Resources>
        <Style TargetType="{x:Type TextBlock}">
            <Setter Property="HorizontalAlignment" Value="Center" />
            <Setter Property="Margin" Value="0,1" />
        </Style>
        <Style x:Key="NoUnderline" TargetType="{x:Type Hyperlink}">
            <Setter Property="TextDecorations" Value="{x:Null}" />
        </Style>
    </Window.Resources>
    <StackPanel Margin="4" HorizontalAlignment="Center">
        <TextBlock>
            <Hyperlink NavigateUri="http://www.resourceblender.com/" Style="{StaticResource NoUnderline}" RequestNavigate="OpenURL">
                <Image Source="pack://application:,,/Resources/images/express-170.png" Width="170" Height="170" />
            </Hyperlink>
        </TextBlock>
        <TextBlock x:Name="lblVersion" FontSize="14" FontWeight="Bold" />
        <TextBlock x:Name="lblDate" FontSize="8" Margin="0" />
        <TextBlock>
            <Hyperlink NavigateUri="http://www.resourceblender.com/" RequestNavigate="OpenURL">http://www.resourceblender.com/</Hyperlink>
        </TextBlock>
        <TextBlock Width="100" TextWrapping="Wrap" TextAlignment="Center">Copyright ©2009 Harry Jennerway</TextBlock>
        <TextBlock><Hyperlink NavigateUri="http://www.resourceblender.com/donate" ToolTip="Every time you ignore a donation link, God kills a kitten" Style="{StaticResource NoUnderline}" RequestNavigate="OpenURL"><Image Source="pack://application:,,/Resources/images/donate.gif" Width="62" Height="31"></Image></Hyperlink></TextBlock>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="48" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <Image Grid.Row="0" Grid.Column="0" Grid.RowSpan="2" Source="pack://application:,,/Resources/images/lime.png" ToolTip="Lime49 Software" />
            <TextBlock HorizontalAlignment="Left" VerticalAlignment="Bottom" Grid.Row="0" Grid.Column="1">Lime49 Software</TextBlock>
            <TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Row="1" Grid.Column="1"><Hyperlink NavigateUri="http://www.lime49.com/" RequestNavigate="OpenURL">http://www.lime49.com/</Hyperlink></TextBlock>
        </Grid>
        <Button IsCancel="True" MinWidth="70" Width="70" Click="CloseWindow">Close</Button> 
    </StackPanel>
</Window>
